# -*- coding: utf-8 -*-
# @Author: lim
# @Email: 940711277@qq.com
# @Date:  2018-03-01 13:57:13
# @Last Modified by:  lim
# @Last Modified time:  2018-03-30 18:37:57

ENV = 'local' 
# ENV = 'product'
# ENV = 'test'

#==============================================

if ENV == 'local':
    MASTER_IP = '58.221.55.131'
    MASTER_PORT = '8888'
    SECRET = '123456789'

if ENV == 'test':
    MASTER_IP = '119.23.201.226'
    MASTER_PORT = '6789'
    SECRET = '123456789'

# 爬虫超时时间
TIMEOUT = 10 
#并发任务量
MAX_TASK = 100
#文件存储目录     
SAVE_PATH = 'data'   

#每次从主机取任务的量
GET_TASKS_AMOUT = 500
#任务缓冲池的大小
TASK_POOL = 2000
#完成多少任务向主机汇报
FINISH_FEEDBACK = 500
#任务系统循环时间
LOOP_TIME = 2

#对公众号进行分类
ENTER_1 = ['mifenka','fujiandianxin','zhaolianniuka',
    'jiyouxiaozhushou','guangdongyouxian','qzgd',
    'hubeidianxin','zhongguodianxin']
ENTER_2 = []
ENTER_3 = ['mifenka','fujiandianxin','zhongguoliantong']


